home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality StarterKit / Virtual Reality StarterKit.iso / sop10000 / copyfile.swt / FIXDMA.TXT < prev    next >
Encoding:
Text File  |  1993-10-11  |  1.3 KB  |  29 lines

  1. *****************************************************************************
  2. * This is the file "DRIVER.BAT" which the SETUP program will create in your *
  3. * V900 directory. We've fpund that you may have to modify it to reflect a   *
  4. * different DMA channel setting on your sound card. Look below to the lines *
  5. * for "LOADHIGH aapisb...." (they appear in two separate places) and add the*
  6. * correct DMA settings (/dma:X) as shown below. This should do it!          *
  7. *****************************************************************************
  8.  
  9. @echo off
  10. if .%1. == ./rem. goto REMOVE
  11. if .%1. == ./REM. goto REMOVE
  12. if not .%VMP%. == .. goto :QUIT
  13. set VMP=Y
  14. LOADHIGH vapinul /CMOS %1 %2 %3 %4 %5 %6 %7 %8 %9 
  15. LOADHIGH aapisb /addr:220 /irq:5 /dma:3 %1 %2 %3 %4 %5 %6 
  16. vmp                                /|\
  17. goto :QUIT                          |Add these
  18.                                     |parameters
  19. REMOVE:                             |if your DMA
  20. set VMP=                            |is set differently
  21. vmp  /REM >nul                     \|/
  22. LOADHIGH aapisb /addr:220 /irq:5 /dma:3 %1 %2 %3 %4 %5 %6  /REM >nul
  23. LOADHIGH vapinul /CMOS %1 %2 %3 %4 %5 %6 %7 %8 %9  /REM >nul
  24.  
  25. if .%2. == ./NOMEM. if exist NOSNDMEM.COM NOSNDMEM.COM
  26. if .%2. == ./nomem. if exist NOSNDMEM.COM NOSNDMEM.COM
  27.  
  28. :QUIT
  29.